﻿/*********************************************************************************
 *Author:         OnClick
 *Version:        1.0
 *UnityVersion:   2017.2.3p3
 *Date:           2019-03-14
 *Description:    IFramework
 *History:        2018.11--
*********************************************************************************/
using System;
using System.Net;
using System.Net.Sockets;

namespace IFramework
{
    public interface ISocketToken
    {
        int TokenId { get; set; }
        Socket Sock { get; set; }
        IPEndPoint EndPoint { get; set; }
        SocketAsyncEventArgs Arg { get; set; }
        DateTime ConnTime { get; set; }
        bool IsDisposed { get; }
        void Close();
    }

}
